home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 944 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.4 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: C2P
  5. Date: 12 Jan 1996 20:29:16 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4d6gas$jrb@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4cu7vo$17q@sinsen.sn.no>
  10. NNTP-Posting-Host: hphalle8a.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle8a.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <4cu7vo$17q@sinsen.sn.no>, tbk@sn.no (Thore Bjerklund Karlsen) writes:
  15. |> (Jyrki Saarinen)
  16. |> 
  17. |> >> : We are going to release one in a couple of  days.
  18. |> >> : 2x2x256 just as fast as it takes to copy the chunky-buffer to chip.
  19. |> >> 
  20. |> >> nice, but which cpu and which framerate (for the case of blitter
  21. |> >> assistance) ?
  22. |> 
  23. |> >It does two passes almost free even on a 28MHz 020/030. Completely
  24. |> >free on a 40MHz 030. The blitting time was quite small if
  25. |> >I remeber correctly, the whole time was 17ms, and the CPU
  26. |> >part is ~5ms, so ~12ms blitting.
  27. |> 
  28. |> Why not just measure it in scanlines?  Why ms?
  29.  
  30. he gave the numbers in ms. 
  31.  
  32. after having counted the scanlines the effect needs,
  33. (by measuring the hight of it on the TV! :D) you calculate 
  34.  
  35. time= (measured_height/height_of_wbscreen)*(256/312.5)*20ms
  36.  
  37. for a wb screen of 256 pixel height.
  38.  
  39. ;)
  40.  
  41. Rallys demo-coding formulas:  ;)
  42. ----------------------------
  43.  
  44. nr_rasterlines_fx = (measured_height/measured_height_screen)*nr_lines_screen
  45.  
  46. time = (nr_rasterlines_fx/nr_rasterlines_tv) * frametime_tv
  47.  
  48. with nr_rasterlines_tv = 312.5 and frametime = 20ms on PAL.
  49.  
  50. note that (frametime_tv/nr_rasterlines_tv) is almost same on both PAL and NTSC,
  51. the reason is they got almost same horiz frequency with a reasterline beeing
  52. 6.4ns on PAL. 
  53.  
  54. So we can aproximate
  55.  
  56. time = (nr_rasterlines_fx*6.4ns) 
  57.      = (measured_height/measured_height_screen)*nr_lines_screen*6.4ns
  58.  
  59.  
  60. =;)
  61.  
  62. what do you think about my formulas ? imho much more interesting than
  63. the crap at school ;)
  64.  
  65. |> 
  66. |> __
  67. |> \\\__ Thore B. Karlsen  % tbk@sn.no % C64-C128D-A1200-A2000C
  68. |>  \XX/ Wowbagger/AFL&SSN %  -c0d3r-  % A1230/50MHz-2C4F/340MB
  69. |> 
  70. |> Acts.9.5: .. And the Lord said, I am Jesus whom thou persecutest: it is
  71. |>           hard for thee to kick against the pricks.
  72. |>              
  73. ------------------------------------------------------------------------
  74.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  75.  
  76.